<template>
  <span class="iv-pull-left iv-main-color iv-pointer iv-operate-item">
    <span @click="expand">扩展</span>
  </span>
</template>
<script>
import DeletePoptip from '@/components/poptip'
export default {
  props: {
    item: {
      type: Object,
      default () {
        return {}
      }
    },
    index: {
      type: Number,
      default: 0
    }
  },
  data () {
    return {}
  },
  components: {
    DeletePoptip
  },
  inject: {
    expandParent: {
      default () {
        return function () {}
      }
    }
  },
  methods: {
    expand () {
      this.expandParent()
    }
  }
}
</script>